{% extends "userlayout.html" %}
{% block content %}
    {% if emailAddy %}
        <div id="emailaddress">Your Noisewater Update Email Address: {{emailAddy}}</div>
    {% endif %}
    <div class="Block" id="EmailSettings">
        <form id="emailPassForm" action="" method="post">
        <dl>
            <dt>Enter Your Email Password:</dt>
            <dd>
                <input type="text" name="emailpass">
                {% if error %}
                    <p style="color:red;font-weight:bold">{{error}}</p>
                {% endif %}
            </dd>
            <dt>&nbsp;</dt><dd><input type="submit" name="submit" value="save password" id="submit">
        </dl>
        </form><!-- emailPassForm -->
        <p>
            Email Update is a simple way for you to update your Noisewater Ripple by simply emailing your update from anywhere.
            You enter your password and we generate an email address for you, then anytime you email that address it will automatically
            update your ripple (status).
        </p>
        <p style="color:red;font-weight:bold;text-align:center">Please remember that email's must be plain text</p>
    </div><!-- EmailSettings -->
{% endblock %}